package com.atguigu.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(value = "weather",url = "http://aliv18.data.moji.com")
public interface WeatherFeignClient {

    @PostMapping("/weather")
    void getWeather(@RequestHeader("Author") String auth);
}
